package jee.boot.module.file.oss;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "file.store.alioss")
public class OssFileConfig {
    /**
     * 存储地址
     */
    private String endpoint;

    /**
     * 存储ID
     */
    private String accessKeyId;

    /**
     * 存储密钥
     */
    private String accessKeySecret;

    /**
     * 存储域名
     */
    private String bucketName;

    /**
     * 存储目录
     */
    private String folder;

    /**
     * 例外文件
     */
    private String excludeExtNames;

    /**
     * 本地临时目录
     */
    private String localPath;

    public String getEndpoint() {
        return endpoint;
    }

    public void setEndpoint(String endpoint) {
        this.endpoint = endpoint;
    }

    public String getAccessKeyId() {
        return accessKeyId;
    }

    public void setAccessKeyId(String accessKeyId) {
        this.accessKeyId = accessKeyId;
    }

    public String getAccessKeySecret() {
        return accessKeySecret;
    }

    public void setAccessKeySecret(String accessKeySecret) {
        this.accessKeySecret = accessKeySecret;
    }

    public String getBucketName() {
        return bucketName;
    }

    public void setBucketName(String bucketName) {
        this.bucketName = bucketName;
    }

    public String getFolder() {
        return folder;
    }

    public void setFolder(String folder) {
        this.folder = folder;
    }

    public String getExcludeExtNames() {
        return excludeExtNames;
    }

    public void setExcludeExtNames(String excludeExtNames) {
        this.excludeExtNames = excludeExtNames;
    }

    public String getLocalPath() {
        return localPath;
    }

    public void setLocalPath(String localPath) {
        this.localPath = localPath;
    }
}
